import request from '@/utils/request'

// 查询员工考评列表
export function listExp_exam(query) {
  return request({
    url: '/system/exp_exam/list',
    method: 'get',
    params: query
  })
}

// 查询员工考评详细
export function getExp_exam(chaID) {
  return request({
    url: '/system/exp_exam/' + chaID,
    method: 'get'
  })
}

// 新增员工考评
export function addExp_exam(data) {
  return request({
    url: '/system/exp_exam',
    method: 'post',
    data: data
  })
}

// 修改员工考评
export function updateExp_exam(data) {
  return request({
    url: '/system/exp_exam',
    method: 'put',
    data: data
  })
}

// 删除员工考评
export function delExp_exam(chaID) {
  return request({
    url: '/system/exp_exam/' + chaID,
    method: 'delete'
  })
}
